<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
    <link type="text/css" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap.min.css" rel="stylesheet" />
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/base.css" rel="stylesheet" />
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/static/img/favicon.jpg" type="image/x-icon"/>
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/index.css" rel="stylesheet" />
</head>
<body>
<h1>欢迎</h1>
<header>
    <div class="left">
        <div class="logo">
            <img src="${pageContext.request.contextPath}/static/img/logo.png">
        </div>
    </div>
    <div class="right">
        <div class="info">
            <img class="pic" src="file?p=${login_user.pic}">
            <a href="javascript:void(0)">欢迎你，${login_user.name}</a>
            <div class="info-hide">
                <a href="${pageContext.request.contextPath}/info" target="myiframe">个人信息</a>
                <a href="${pageContext.request.contextPath}" target="myiframe">修改密码</a>
                <a href="logout">注销</a>
            </div>
        </div>
    </div>
</header>
<div class="container-fluid context">
    <div class="row">
        <div class="left col-md-2 menu-list">
            <a href="${pageContext.request.contextPath}/welcome" target="myiframe">首页</a>
            <a href="${pageContext.request.contextPath}/user" target="myiframe">用户管理</a>
            <a href="student" target="myiframe">学生管理</a>
            <a href="" target="myiframe">班级管理</a>
            <a href="" target="myiframe">在线用户</a>
        </div>
        <div class="right col-md-10">
            <iframe  name="myiframe" src="${pageContext.request.contextPath}/welcome" frameborder="0" width="100%" height="100%"></iframe>
        </div>
    </div>
</div>
</body>
</html>
